package com.example.service;

import com.example.pojo.PageBean;
import com.example.pojo.Supplier;
import io.swagger.models.auth.In;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface SupplierService {

    PageBean  getSupplier(Supplier supplier,Integer page, Integer pageSize);

    Integer changeSupplier(Supplier supplier);

    Integer deleteSupplier(String id);

    Integer addSupplier(Supplier supplier);


    List<Supplier> getSupplierList();
}
